﻿using System.Data.SQLite;
using System.Linq;

namespace Kotonoha.Server.Core.Db.Updates {
    public abstract class Package {
        public SQLiteConnection Connection { get; set;}

        public abstract void execute();

        protected int nonSelecting(string sql) {
            SQLiteCommand cmd = new SQLiteCommand(sql, Connection);
            return cmd.ExecuteNonQuery();
        }
    }
}
